package com.franklin.ideaplugin.api.comment;

import com.intellij.psi.PsiElement;

/**
 * @author Ye Junhui
 * @since 2023/7/20 21:48
 */
public interface IPsiCommentResolver <T extends PsiElement>{

    /**
     * 解析注释
     * @param t
     * @return
     */
    String resolveComment(T t);

    /**
     * 解析简单注释
     * @param t
     * @return
     */
    String resolveSimpleComment(T t);
}
